from myelin.Ns import MYELIN, FOAF

from Agent import Agent

from ObjectTypes import \
    UserAgentTypeO, UserAgentTypeS, \
    UserAccountTypeO, \
    UserProfileTypeS
    
from mappings import \
    AgentMap, \
    PrimaryTopicMap

class UserAgent(Agent):
    
    ModelTypes = (UserAgentTypeO, UserAgentTypeS)
    
    RDF_BINDINGS = {
        'mPrimary_Account'      : ((MYELIN, 'primary-account'), UserAccountTypeO, AgentMap),
        'mProfile'              : ((FOAF, 'primaryTopic'), UserProfileTypeS, PrimaryTopicMap),
    }

    
CLASS_TYPES = {
    MYELIN + 'UserAgent' : UserAgent,
}